package com.zzxy.spring1.factory;

import com.zzxy.spring1.service.IUserService;
import com.zzxy.spring1.service.impl.UserServiceImpl;

public class UserServiceFactory {
    // 静态工厂方法，用于创建IUserService接口的实例
    public static IUserService createUserService() {
        // 返回UserServiceImpl的实例
        return new UserServiceImpl();
    }
}